package com.cloudfun.campusshare.common.model.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.cloudfun.campusshare.common.constant.BaseConstant;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * Created by Huqin on 2020/3/6
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "金融机构导出商家项目VO")
public class BorrowerProjectExportVO {

    private static final int WIDTH = 17;

    @Excel(name = "项目名称", width = WIDTH)
    private String name;

    @Excel(name = "项目类型", width = WIDTH)
    private String type;

    @Excel(name = "项目所属学校", width = WIDTH)
    private String belongSchool;

    @Excel(name = "接入设备数量", width = WIDTH)
    private Integer deviceCount;

    @Excel(name = "中标时间", width = WIDTH, exportFormat = BaseConstant.EXPORT_DATE_FORMAT)
    private Date winningBidTime;

    @Excel(name = "项目到期时间", width = WIDTH, exportFormat = BaseConstant.EXPORT_DATE_FORMAT)
    private Date projectDueTime;

    @Excel(name = "项目运营收益", width = WIDTH)
    private String totalAmount;

    @Excel(name = "项目状态", width = WIDTH)
    private String status;

}
